package com.znjc.device.modbus.rtu.slave.listener;

import com.intelligt.modbus.jlibmodbus.exception.IllegalDataAddressException;
import com.intelligt.modbus.jlibmodbus.exception.IllegalDataValueException;

public interface EventListeners{
    void readHoldingRegister(int address);
    void readHoldingRegisterRange(int address, int quantity);
    void writeHoldingRegister(int address, int value) throws IllegalDataValueException, IllegalDataAddressException;
    void writeHoldingRegisterRange(int address, int[] values);
}
